package com.mcp_life.entity.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private Long id; // id bigint (auto increment)
    private String userId; // user_id varchar(255)
    private String account; // account varchar(255)
    private String password; // password varchar(255)
    private String nickname; // nickname varchar(50)
    private Integer gender; // gender tinyint = 0
    private String avatar; // avatar varchar(255)
    private Integer isRealName; // is_real_name tinyint = 0
    private Integer role; // role tinyint = 0
    private Timestamp createTime; // create_time timestamp
    private Timestamp updateTime; // update_time timestamp
    private Integer status; // status tinyint
}
